import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Toolkit;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;

class goalCard extends JPanel
{
	ImageIcon[] myImage;
	
	goalCard(int pic)
	{
	setBounds(0,0,60,120);
	setBackground(Color.white);
	setLayout(null);
	myImage=new ImageIcon[13];
	for(int i=1;i<13;i++)
	{
		myImage[i]= new ImageIcon(new ImageIcon("pic\\"+i+".png").getImage().getScaledInstance(60,120,Image.SCALE_DEFAULT)); 
	}
	
	JLabel goal=new JLabel();
	goal.setIcon(myImage[pic]);
	goal.setBounds(0,0,60,120);
	this.add(goal);
	setVisible(true);
	
	}
	
	
}